<!DOCTYPE html>
<html lang="en" dir="ltr" class="client-nojs">
<head>
<meta charset="UTF-8" />
<title>Straight line control points - PanoTools.org Wiki</title>
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
<meta name="generator" content="MediaWiki 1.23.6" />






<style media="screen" type="text/css" title="Screen style sheet"> @import url(manual.css); </style>

<style>a:lang(ar),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}
/* cache key: panotools_wiki:resourceloader:filter:minify-css:7:90730a7865ba4b50e0b837e1821ff0a3 */</style>



<!--[if lt IE 7]><style type="text/css">body{behavior:url("/skins/vector/csshover.min.htc")}</style><![endif]--></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Straight_line_control_points skin-vector action-view vector-animateLayout">
		
		
		<div id="content" class="mw-body" role="main">
			<a id="top"></a>
			
						<h1 id="firstHeading" class="firstHeading" lang="en"><span dir="auto">Straight line control points</span></h1>
						<div id="bodyContent">
								<div id="siteSub">From PanoTools.org Wiki</div>
								
												
				<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><p><br />
The panorama tools optimizer understands various different schemes for
aligning photos using <a href="Control_points.html" title="Control points">control points</a>:
Normal points are <b>t0</b> points, <a href="Horizontal_control_points.html" title="Horizontal control points">horizontal control points</a> are <b>t1</b> points,
<a href="Vertical_control_points.html" title="Vertical control points">vertical control points</a> are <b>t2</b> points, and straight line control points are <b>t3</b>, <b>t4</b>, etc... points.
</p><p><b>Straight line control points</b> were added later and have a similar effect as horizontal
and vertical points, except that the straight line can be at any angle.  They have two main uses:
Lining up linear features that don't have identifiable detail, such as the edges of a room or
overhead cables; and calibrating <a href="Lens_distortion.html" title="Lens distortion">lens distortion</a> using a single
<a href="Rectilinear_Projection.html" title="Rectilinear Projection">rectilinear</a> photograph of a grid or building.
</p><p>Although two points are sufficient to define a horizontal or vertical line, more are
required for these lines at arbitrary angles.  Since the script file format only supports 'pairs' of
points, a straight line is generally defined with four, six or eight etc... control points.
</p><p>Some of the GUI front-ends<a class="external" href="http://wiki.panotools.org/GUI_front-ends">[*]</a> support placing these <b>straight line control points</b>, see this
tutorial on <a rel="nofollow" class="external text" href="http://www.erik-krause.de/verzeichnung/distort_en.htm">correcting lens distortion with ptgui</a>.
</p><p>Otherwise if you edit a <a href="PTOptimizer.html" title="PTOptimizer">PTOptimizer</a> script and make more than one pair of existing points
<b>t3</b>, then the optimiser will try to line them up as a straight
line in the output image.  You can keep going, with <b>t4</b>, <b>t5</b> etc... for each group of points
that you want in different 'straight lines'.
</p>



</div>								<div class="printfooter">
				Retrieved from "http://wiki.panotools.org/index.php?title=Straight_line_control_points&amp;oldid=12322<a class="external" href="http://wiki.panotools.org/index.php?title=Straight_line_control_points&amp;oldid=12322">[*]</a>"				</div>
												</div></div></body></html>